import http from '@/utils/request';

interface Info {
    value: string;
    label: string;
    children?: Info[]|undefined;
}

const merchantList: Info[] = [
    {
        value: 'zhejiang',
        label: 'Zhejiang',
        children: [
            {
                value: 'hangzhou',
                label: 'Hangzhou',
                children: [
                    {
                        value: 'xihu',
                        label: 'West Lake',
                    },
                ],
            },
        ],
    },
    {
        value: 'jiangsu',
        label: 'Jiangsu',
        children: [
            {
                value: 'nanjing',
                label: 'Nanjing',
                children: [
                    {
                        value: 'zhonghuamen',
                        label: 'Zhong Hua Men',
                    },
                ],
            },
        ],
    },
];


export function getMerchantList() {
    // return http.request({
    //     url: '/merchant',
    //     method: 'get',
    // });
    return merchantList;
}
